Repository navigation
Run the fetch/content-disposition WPT - #8940
Merged
Merged
Conversation
fetch/misc doesn't run the WPT fetch/content-disposition directory, because its only test file is tentative and the target skips tentative files. The file checks that a response with duplicate Content-Disposition headers is not a network error and that the values are combined with ", ". In this patch fetch/misc includes tentative files. All four content-disposition subtests pass. The HTTP/2 variant stays omitted, since it needs a window and the wptserve sidecar runs without HTTP/2. The six other tentative files this pulls in get entries that match their neighbours: the local-network-access ones need a window, and the zstd and HTTP cache subtests are expected failures because fetch() decodes no zstd and has no HTTP cache. This is test-only, so there is no compat flag. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
✅ Approved — This pull request only changes WPT test configuration, the new expectation entries match the existing conventions, and nothing needed fixing.
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
✅ All checks passed
🔒 Security: ✅ LGTM
Only test configuration changes. No runtime code, access control, secrets or trust boundaries are touched.
📋 Code Quality: ✅ LGTM
include_tentative = True is a supported wpt_test parameter (build/wpt_test.bzl), and other targets in src/wpt/BUILD.bazel already use it. The new entries in src/wpt/fetch/misc-test.ts follow the file's existing patterns:
.window.jsfiles getomittedTestswith a reason.- The zstd and HTTP cache entries list
expectedFailureswith the same explanatory comments as the entries next to them.
📝 Documentation: ✅ LGTM
No documentation concerns.
Reviewed commit: d0aa5131
bartlomieju
approved these changes
Nov 27, 2026
npaun
approved these changes
Nov 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fetch/misc doesn't run the WPT fetch/content-disposition directory, because its only test file is tentative and the target skips tentative files. The file checks that a response with duplicate Content-Disposition headers is not a network error and that the values are combined with ", ".
In this patch fetch/misc includes tentative files. All four content-disposition subtests pass. The HTTP/2 variant stays omitted, since it needs a window and the wptserve sidecar runs without HTTP/2.
The six other tentative files this pulls in get entries that match their neighbours. The three local-network-access files need a window. The zstd and HTTP cache subtests are expected failures, because fetch() decodes no zstd and has no HTTP cache.
This is test-only. No runtime code changes, so there is no compat flag.
//src/wpt:fetch/misc@and//src/wpt:fetch/misc@all-autogateseach pass 20 out of 20 runs (--runs_per_test=20).